/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ticketmachine.logic.paymentAdapters;

/**
 *
 * @author oiiv2253
 */
public class ECashPayment extends Payment {

    String pinNbr;

    public ECashPayment (String pin, float amount) {
        super(amount);
        this.pinNbr = pin;
    }

    @Override
    public float authorise() {

        return 1;

    }

}
